package com.jlsoft.eunus;

import com.baomidou.mybatisplus.enums.IEnum;

import java.io.Serializable;

/**
 * 可用标识枚举类型
 */
public enum Flags implements IEnum{
    AVAILABLE(0, "可用"),
    DISABLE(1, "禁用");

    private int value;
    private String desc;

    Flags(final int value, final String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public Serializable getValue() {
        return this.value;
    }

    public String getDesc(){
        return this.desc;
    }

}
